<table class="staffinfo" cellpadding="4" cellspacing="6" id="face_fil" >
<tr>
<td colspan="4" ><h2> Staff Info </h2> 
<div style="text-align:right"><a href="edit/<?=$staff["staff_id"];?>/<?php echo $cur_page;?>" style="text-decoration:none;font-weight:bold;">Edit</a> </div></td>
</tr>
 <tr> <td colspan="4" class="face_info" ><h3> Basic Info </h3> </td></tr>
    <tr>
    	 <td>
         <b>
          Name
          </b>
         </td>
         <td>
        	<?php 
			if(!empty($staff['first_name']))
			{
			 echo  $staff['first_name'];
			}
			echo " ";
			if(!empty($staff['last_name']))
			{
			 echo $staff['last_name']; 
			}
	 		 ?>  
        </td>
        <td>
            <b>
            Staff code
            </b>
        </td>
        <td>
			<?php 
            if(!empty($staff['staff_code']))
            {
            echo  $staff['staff_code']; 
            }
            ?>
        </td>
    </tr>
    
   
    
    <tr>
        <td>
            <b>
            Gender
            </b>
        </td>
        <td>
			<?php 
            if(!empty($staff['gender']))
            {
            echo  ucfirst($staff['gender']);
            }
            ?>
        </td>
        <td>
       	 	<b>
        	Doj
        	</b>
        </td>
        <td>
			<?php 
            if(!empty($staff['doj']))
            {
            echo  $staff['doj']; 
            }
            ?>
        </td>
    </tr>
    
    <tr>
        <td>
            <b>
            Designation
            </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['designation']))
		{
		echo  $staff['designation']; 
		}
		?>
      
        </td>
          <td>
        <b>
        Blood Group
        </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['blood_group']))
		{
		echo  $staff['blood_group']; 
		}
		?>
        
        </td>
        
    </tr>
        <td> <b>
        landline
        </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['land_line']))
		{
		echo  $staff['land_line']; 
		}
		?>
        
        
        </td>
        <td> <b>
        Mobile Number
        </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['mobile_no']))
		{
		echo  $staff['mobile_no']; 
		}
		?>
        
        </td>
      
        
    </tr>

    <tr>
    <td>
         <b>
        
        Address
        </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['address']))
		{
		echo  $staff['address']; 
		}
		?>
  
        </td>
         <td>
         <b>
        Remarks 
        </b>
        </td>
        <td>
        <?php 
		if(!empty($staff['remarks']))
		{
		echo  $staff['remarks']; 
		}
		?>
        </td>
    </tr>
   
 
  
 
   

    
     
   

</table>